﻿<%@ Page Title="" Language="C#" MasterPageFile="Home.master" %>
<%@ Register src="../module/Types.ascx" tagname="Types" tagprefix="inal" %>
<script runat="server">
    protected void Page_Load(object sender, EventArgs e)
    {

    }
</script>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
  <style type="text/css">
  .ke-textarea{ direction:rtl;}
h2 { background: #f4f4f4 url(../static/img/post.gif) no-repeat right center; color: #333; font-size: 12pt; line-height: 40px;  padding: 20px 80px 20px 20px; border-radius: 10px; text-align:center; border-bottom:1px solid #ccc; margin:0 0 20px 0; }
#UserInfo { padding: 0 20px; color: #424242; }
#UserInfo table { }
#UserInfo td { padding: 5px; }
td.f1 { width: 120px; }
#UserInfo input, #UserInfo select,#Verification-Code input { line-height: 17px; padding: 5px; border: 1px solid #a5aeb6; color: #484848; outline: none }
#UserInfo input { width: 300px; }
#Item_User_Id, #Item_User_Tel, #Item_User_Email,#VerificationImgCode{ font-family: Verdana, Geneva, sans-serif !important; direction: ltr !important; text-align: left !important; }
.ke-dialog-body, .ke-dialog-body * { direction: ltr !important; }
#Submit button { margin: 30px auto; padding: 20px 30px; font-size: 12pt; }
#Submit { }
#Submit button { background-color: #d24c4d; border: none; color: #FFF; padding: 20px 85px; border-radius: 10px; margin: auto }
#Submit button:hover { background-color: #fe695a; }
#Content { }
#Item_Title,#Item_Summary { display: block; width: 560px !important; border: none; padding: 5px; border: 1px solid #a5aeb6; color: #484848; }
.ke-container { border-radius: 5px; overflow: hidden; }
#Verification-Code{ background-color:#eee; padding:5px; color: #424242; border-radius:5px; overflow:hidden; margin-top:20px;}
</style>
    <!--语言加载{web.config加载}-->
    <script type="text/jscript" src="../static/Lang/<%=Utils.GetQueryString("lang",1) %>.js"></script>
    <!--{动态加载 0054} 投稿JS-->
    <script type="text/javascript" src="../static/js/Issued.js"></script>
    <!--{验证库}-->
    <script type="text/javascript" src="../static/js/Verification.js"></script>
    <!--{对话框加载}-->
    <link href="../pulgin/artDialog/skins/blue.css" rel="stylesheet" type="text/css" />
    <script src="../pulgin/artDialog/artDialog.min.js" type="text/javascript"></script>
    <!--{编辑器加载}-->
    <script type="text/javascript" src="../Pulgin/kindeditor-4.1/kindeditor-all.js"></script>
    <script type="text/javascript" src="../Pulgin/kindeditor-4.1/lang/zh_CN.js"></script>
    <link href="../Pulgin/kindeditor-4.1/themes/simple/simple.css" rel="stylesheet" />

  
    <!--{自动加载}维吾尔文输入法解决方案{id:025}-->
    <script type="text/javascript" src="../static/js/bedit.js" ></script>
    <script type="text/javascript" >
    bedit_allow = "UserName:Item_Title:Item_Summary";
    var ReturnPage = "News.aspx?";
    var editor;
    KindEditor.ready(function (K) {
	    editor = K.create('textarea[name="content"]',
        { allowFileManager: true,
            uploadJson: '../pulgin/kindeditor-4.1/asp.net/upload_json-For-Issued.ashx',
            pasteType:1,
            allowImageUpload: true,
            items: [
	            'plainpaste','hilitecolor', 'bold', 'italic', 'underline',
	            'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
	            'insertunorderedlist', '|', 'emoticons', 'image', 'link','clearhtml','fullscreen']
            });
    });
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
  <h2><%=Lang.Show("Issued")%></h2>
  <div class="layout">
    <div id="UserInfo">
      <table>
        <tr>
          <td class="f1"><%=Lang.Show("UserName")%> :</td>
          <td><input type="text" id="Item_User_Name" name="UserName" maxlength="40" /></td>
          <td><div id="Validate-Item_User_Name"></div></td>
          <td></td>
        </tr>
        <tr>
          <td><%=Lang.Show("UserId")%> :</td>
          <td><input type="text" id="Item_User_Id" maxlength="18" /></td>
          <td><div id="Validate-Item_User_Id"></div></td>
          <td></td>
        </tr>
        <tr>
          <td><%=Lang.Show("UserPhone")%> :</td>
          <td><input type="tel" id="Item_User_Tel" maxlength="15" /></td>
          <td><div id="Validate-Item_User_Tel"></div></td>
          <td></td>
        </tr>
        <tr>
          <td><%=Lang.Show("Email")%> :</td>
          <td><input type="email" id="Item_User_Email" /></td>
          <td><div id="Validate-Item_User_Email"></div></td>
          <td></td>
        </tr>
        <tr>
          <td><%=Lang.Show("Columns")%> :</td>
          <td><inal:Types runat="server" Type="1"  /></td>
          <td><div id="Validate-Typ1_0"></div></td>
          <td></td>
        </tr>
      </table>
      <table>
        <tr>
          <td class="f1"><%=Lang.Show("Title")%> (<code id="Item_Title_Code">320</code>) :</td>
          <td colspan="2"><input id="Item_Title" name="Item_Title" type="text" /></td>
          <td><div id="Validate-Item_Title"></div></td>
        </tr>
        <tr>
          <td class="f1"><%=Lang.Show("Summary")%> (<code id="Item_Summary_Code">320</code>) :</td>
          <td colspan="2"><textarea rows="3" id="Item_Summary" name="Item_Summary"></textarea></td>
          <td><div id="Validate-Item_Summary"></div></td>
        </tr>
      </table>
    </div>
  </div>
  <div class="ch10"></div>
  <!--{002}内容编辑器-->
  
  <div class="layout">
    <div id="Content">
      <textarea name="content" style="width:978px;height:350px;visibility:hidden;"><%=Lang.Show("ContentFillThePosition")%></textarea>
    </div>
    <div id="Verification-Code">
      <table>
        <tr>
          <td class="f1"><%=Lang.Show("Captcha")%> :</td>
          <td><input type="text" id="VerificationImgCode"  maxlength="6" /></td>
          <td><img id="ImgCode" src="../ajax/VerificationImgCode.ashx" /></td>
          <td><div  id="Validate-VerificationImgCode"></div></td>
        </tr>
      </table>
    </div>
  </div>
  <div class="ch20"></div>
  <div id="Submit" class="layout">
    <button onclick="IssuedAdd()" ><%=Lang.Show("Submit")%></button>
  </div>
  <div class="ch20"></div>
  <script type="text/javascript">
  /* 验证绑定 */
      BlurValidate();
      ImgCodeShow()
  /* 标题和摘要字体限制 */
  ShowLimitLength(320, "Item_Title");
  ShowLimitLength(320, "Item_Summary");
  </script>
</asp:Content>
